function initSelectMethod(selectId,selectData) {
    let selectDocument= document.getElementById(selectId);
    for (let n in selectData) {

        selectDocument.options.add(new Option(selectData[n].id,selectData[n].value,selectData[n].select?true:false));
    }

}